//面包屑
const path = ['仓库管理', '出库管理', '领料单列表'];
//搜索条件
const filterOption = {
	items: [{
		label: "关键字",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "keyWord"
	},
	{
		label: "出库单类型",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "type"
	},
	{
		label: "出库单状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "status"
	},
	{
		label: "加工类型",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "processingType"
	},
	{
		label: "供应商",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "supplierCode"
	},
	{
		label: "操作人",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "operaterId"
	},
	{
		label: "创建日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "createTime"
	},
	{
		label: "出库日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "storageTime"
	}],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//状态类型
const configArr = [
	{
        color: "brown",
        label: "全部领料单",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待审核",
        value: "type2",
        count: 300
    },
]
//领料单列表
const tableHeaderData = [
	{
		prop:'typeDict.value',
		label:'领料单类型',
		width:''
	},
	{
		prop:'ss',
		label:'采购单号',
		width:''
	},
	{
		prop:'productCategoryCategory',
		label:'品类',
		width:''
	},
	{
		prop:'styleNo',
		label:'款式名称',
		width:''
	},
	{
		prop:'supplierName',
		label:'供应商',
		width:''
	},
	{
		prop:'processingType',
		label:'加工类型',
		width:''
	},
	{
		prop:'customizationCode',
		label:'定制编码',
		width:''
	},
	{
		prop:'statusDict.value',
		label:'单据状态',
		width:''
	},
	{
		prop:'printCount',
		label:'打印次数',
		width:''
	},
	{
		prop:'exportCount',
		label:'导出次数',
		width:''
	},
	{
		prop:'createUser.userName',
		label:'创建人',
		width:''
	},
	{
		prop:'createTime',
		label:'创建时间',
		width:''
	},
	{
		prop:'updateUser.userName',
		label:'操作人',
		width:''
	},
	{
		prop:'sureTime',
		label:'出库时间',
		width:'110',
		sortable:'sortable'
	},
	{
		prop:'remark',
		label:'备注',
		width:''
	},

]
//表格数据
const tableData = [];
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject,
				configArr,
				filterOption: filterOption,
				tableHeaderData,							//销售出库单列表（表头）
				TableSelectDataStr:'',
				filterOptionData:undefined,
			}
		}
	}
}
export default Model;
